<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>

<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<link rel="stylesheet" href="<c:url value="/resources/styles/springsource.css"/>" type="text/css"/>
		<title><spring:message code="account.summary.title"/></title>
	</head>	
	<body>	
		<div id="main_wrapper">	
			<table>
				<tr>
					<td><h2><spring:message code="account.summary.title"/></h2></td>
					<td><a href="${flowExecutionUrl}&_eventId=newSearch"><spring:message code="search.again"/></a></td>
				</tr>
				<tr>
					<td>
						<ul>
							<c:forEach items="${accounts}" var="account">
								<li>
									<a href="${flowExecutionUrl}&_eventId=viewAccountDetails&entityId=${account.entityId}">${account.name}</a>		
								</li>
							</c:forEach>
						</ul>
					</td>
				</tr>
			</table>			
		</div>
	</body>
</html>
